package cn.signalpha.modules.social.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "LikesDTO对象", description = "帖子点赞")
public class LikesDTO implements Serializable {

    private static final long serialVersionUID = 1L;

	@NotNull
    @ApiModelProperty(value = "目标id")
    private Long targetId;
	@NotNull
    @ApiModelProperty(value = "目标类型：1主题 2评论")
    private Integer targetType;

}
